#include "stdafx.h"
#include "ComMemLeak.h"

ComLeakTester::ComLeakTester()
{
	
}

HRESULT ComLeakTester::Leak()
{
	buffer = new unsigned char[1024];
	for(int i = 0; i< 1024 ; i++)
	{
		buffer[i] = (unsigned char)i;
	}
	return TRUE;
}

void ComLeakTester::FinalRelease()
{
	//nothing to do
}